import request from "./httpload.js";

// 获取首页数据
export function getViolation() {
  return request.get("/violation");
}

// 获取归口信息
export function getFocus(data = {}) {
  return request.get("/focus", { params: data });
}

// 违章详情
export function getViolationDetail(data = {}) {
  return request.get("/violation/detail", { params: data });
}
